<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaTradeFastCreateOrderParam/ComAlibabaOceanOpenplatformBizTradeParamOutAddress.class.php');

class AlibabaTradeFastCreateOrderEncryptOutOrderInfo extends SDKDomain {

       	
    private $encryptOrder;
    
        /**
    * @return 是否加密订单
    */
        public function getEncryptOrder() {
        return $this->encryptOrder;
    }
    
    /**
     * 设置是否加密订单     
     * @param Boolean $encryptOrder     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setEncryptOrder( $encryptOrder) {
        $this->encryptOrder = $encryptOrder;
    }
    
        	
    private $outPlatformOrderNo;
    
        /**
    * @return 下游平台订单号
    */
        public function getOutPlatformOrderNo() {
        return $this->outPlatformOrderNo;
    }
    
    /**
     * 设置下游平台订单号     
     * @param String $outPlatformOrderNo     
     * 参数示例：<pre>12365452354551</pre>     
     * 此参数必填     */
    public function setOutPlatformOrderNo( $outPlatformOrderNo) {
        $this->outPlatformOrderNo = $outPlatformOrderNo;
    }
    
        	
    private $outPlatformCode;
    
        /**
    * @return 淘宝-thyny，天猫-tm，淘特-taote，阿里巴巴C2M-c2m，京东-jingdong，拼多多-pinduoduo，微信-weixin，跨境-kuajing，快手-kuaishou，有赞-youzan，抖音-douyin，寺库-siku，美团团好货-meituan，小红书-xiaohongshu，当当-dangdang，苏宁-suning，大V店-davdian，行云-xingyun，蜜芽-miya，菠萝派商城-boluo，其他-other
    */
        public function getOutPlatformCode() {
        return $this->outPlatformCode;
    }
    
    /**
     * 设置淘宝-thyny，天猫-tm，淘特-taote，阿里巴巴C2M-c2m，京东-jingdong，拼多多-pinduoduo，微信-weixin，跨境-kuajing，快手-kuaishou，有赞-youzan，抖音-douyin，寺库-siku，美团团好货-meituan，小红书-xiaohongshu，当当-dangdang，苏宁-suning，大V店-davdian，行云-xingyun，蜜芽-miya，菠萝派商城-boluo，其他-other     
     * @param String $outPlatformCode     
     * 参数示例：<pre>taote</pre>     
     * 此参数必填     */
    public function setOutPlatformCode( $outPlatformCode) {
        $this->outPlatformCode = $outPlatformCode;
    }
    
        	
    private $outPlatformAppkey;
    
        /**
    * @return 下游平台获取订单的appkey
    */
        public function getOutPlatformAppkey() {
        return $this->outPlatformAppkey;
    }
    
    /**
     * 设置下游平台获取订单的appkey     
     * @param String $outPlatformAppkey     
     * 参数示例：<pre>32154</pre>     
     * 此参数必填     */
    public function setOutPlatformAppkey( $outPlatformAppkey) {
        $this->outPlatformAppkey = $outPlatformAppkey;
    }
    
        	
    private $oaid;
    
        /**
    * @return 淘宝oaid
    */
        public function getOaid() {
        return $this->oaid;
    }
    
    /**
     * 设置淘宝oaid     
     * @param String $oaid     
     * 参数示例：<pre>265646-52342354-2354Akf-w3654SF</pre>     
     * 此参数必填     */
    public function setOaid( $oaid) {
        $this->oaid = $oaid;
    }
    
        	
    private $outPatformExtraInfo;
    
        /**
    * @return 下游平台其他扩展信息
    */
        public function getOutPatformExtraInfo() {
        return $this->outPatformExtraInfo;
    }
    
    /**
     * 设置下游平台其他扩展信息     
     * @param String $outPatformExtraInfo     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setOutPatformExtraInfo( $outPatformExtraInfo) {
        $this->outPatformExtraInfo = $outPatformExtraInfo;
    }
    
        	
    private $encryptReceiverName;
    
        /**
    * @return 下游加密收货人姓名
    */
        public function getEncryptReceiverName() {
        return $this->encryptReceiverName;
    }
    
    /**
     * 设置下游加密收货人姓名     
     * @param String $encryptReceiverName     
     * 参数示例：<pre>***</pre>     
     * 此参数必填     */
    public function setEncryptReceiverName( $encryptReceiverName) {
        $this->encryptReceiverName = $encryptReceiverName;
    }
    
        	
    private $encryptReceiverMobile;
    
        /**
    * @return 下游加密收货人电话
    */
        public function getEncryptReceiverMobile() {
        return $this->encryptReceiverMobile;
    }
    
    /**
     * 设置下游加密收货人电话     
     * @param String $encryptReceiverMobile     
     * 参数示例：<pre>***</pre>     
     * 此参数必填     */
    public function setEncryptReceiverMobile( $encryptReceiverMobile) {
        $this->encryptReceiverMobile = $encryptReceiverMobile;
    }
    
        	
    private $encryptReceiverAddress;
    
        /**
    * @return 下游加密收货人地址
    */
        public function getEncryptReceiverAddress() {
        return $this->encryptReceiverAddress;
    }
    
    /**
     * 设置下游加密收货人地址     
     * @param String $encryptReceiverAddress     
     * 参数示例：<pre>***</pre>     
     * 此参数必填     */
    public function setEncryptReceiverAddress( $encryptReceiverAddress) {
        $this->encryptReceiverAddress = $encryptReceiverAddress;
    }
    
        	
    private $outShopId;
    
        /**
    * @return 下游平台shopId
    */
        public function getOutShopId() {
        return $this->outShopId;
    }
    
    /**
     * 设置下游平台shopId     
     * @param String $outShopId     
     * 参数示例：<pre>21343123</pre>     
     * 此参数必填     */
    public function setOutShopId( $outShopId) {
        $this->outShopId = $outShopId;
    }
    
        	
    private $outOriginAddress;
    
        /**
    * @return 外部原始地址信息
    */
        public function getOutOriginAddress() {
        return $this->outOriginAddress;
    }
    
    /**
     * 设置外部原始地址信息     
     * @param ComAlibabaOceanOpenplatformBizTradeParamOutAddress $outOriginAddress     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setOutOriginAddress(ComAlibabaOceanOpenplatformBizTradeParamOutAddress $outOriginAddress) {
        $this->outOriginAddress = $outOriginAddress;
    }
    
        	
    private $outShopName;
    
        /**
    * @return 下游平台店铺名称
    */
        public function getOutShopName() {
        return $this->outShopName;
    }
    
    /**
     * 设置下游平台店铺名称     
     * @param String $outShopName     
     * 参数示例：<pre>三生智能</pre>     
     * 此参数必填     */
    public function setOutShopName( $outShopName) {
        $this->outShopName = $outShopName;
    }
    
        	
    private $outPlatformSubCode;
    
        /**
    * @return 下游平台业务子编码，比如抖音的101子编码渠道，用于供应链订单
    */
        public function getOutPlatformSubCode() {
        return $this->outPlatformSubCode;
    }
    
    /**
     * 设置下游平台业务子编码，比如抖音的101子编码渠道，用于供应链订单     
     * @param String $outPlatformSubCode     
     * 参数示例：<pre>101</pre>     
     * 此参数必填     */
    public function setOutPlatformSubCode( $outPlatformSubCode) {
        $this->outPlatformSubCode = $outPlatformSubCode;
    }
    
        	
    private $outPlatformSupplyOrderNo;
    
        /**
    * @return 下游平台供应链采购订单
    */
        public function getOutPlatformSupplyOrderNo() {
        return $this->outPlatformSupplyOrderNo;
    }
    
    /**
     * 设置下游平台供应链采购订单     
     * @param String $outPlatformSupplyOrderNo     
     * 参数示例：<pre>CT7403712218870825259</pre>     
     * 此参数必填     */
    public function setOutPlatformSupplyOrderNo( $outPlatformSupplyOrderNo) {
        $this->outPlatformSupplyOrderNo = $outPlatformSupplyOrderNo;
    }
    
        	
    private $outSupplierId;
    
        /**
    * @return 下游平台供应链提供商id
    */
        public function getOutSupplierId() {
        return $this->outSupplierId;
    }
    
    /**
     * 设置下游平台供应链提供商id     
     * @param String $outSupplierId     
     * 参数示例：<pre>123123</pre>     
     * 此参数必填     */
    public function setOutSupplierId( $outSupplierId) {
        $this->outSupplierId = $outSupplierId;
    }
    
        	
    private $outOrderPayTime;
    
        /**
    * @return 下游主单下单时间
    */
        public function getOutOrderPayTime() {
        return $this->outOrderPayTime;
    }
    
    /**
     * 设置下游主单下单时间     
     * @param String $outOrderPayTime     
     * 参数示例：<pre>2025-03-18 09:20:21</pre>     
     * 此参数必填     */
    public function setOutOrderPayTime( $outOrderPayTime) {
        $this->outOrderPayTime = $outOrderPayTime;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "encryptOrder", $this->stdResult )) {
    				$this->encryptOrder = $this->stdResult->{"encryptOrder"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPlatformOrderNo", $this->stdResult )) {
    				$this->outPlatformOrderNo = $this->stdResult->{"outPlatformOrderNo"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPlatformCode", $this->stdResult )) {
    				$this->outPlatformCode = $this->stdResult->{"outPlatformCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPlatformAppkey", $this->stdResult )) {
    				$this->outPlatformAppkey = $this->stdResult->{"outPlatformAppkey"};
    			}
    			    		    				    			    			if (array_key_exists ( "oaid", $this->stdResult )) {
    				$this->oaid = $this->stdResult->{"oaid"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPatformExtraInfo", $this->stdResult )) {
    				$this->outPatformExtraInfo = $this->stdResult->{"outPatformExtraInfo"};
    			}
    			    		    				    			    			if (array_key_exists ( "encryptReceiverName", $this->stdResult )) {
    				$this->encryptReceiverName = $this->stdResult->{"encryptReceiverName"};
    			}
    			    		    				    			    			if (array_key_exists ( "encryptReceiverMobile", $this->stdResult )) {
    				$this->encryptReceiverMobile = $this->stdResult->{"encryptReceiverMobile"};
    			}
    			    		    				    			    			if (array_key_exists ( "encryptReceiverAddress", $this->stdResult )) {
    				$this->encryptReceiverAddress = $this->stdResult->{"encryptReceiverAddress"};
    			}
    			    		    				    			    			if (array_key_exists ( "outShopId", $this->stdResult )) {
    				$this->outShopId = $this->stdResult->{"outShopId"};
    			}
    			    		    				    			    			if (array_key_exists ( "outOriginAddress", $this->stdResult )) {
    				$outOriginAddressResult=$this->stdResult->{"outOriginAddress"};
    				$this->outOriginAddress = new ComAlibabaOceanOpenplatformBizTradeParamOutAddress();
    				$this->outOriginAddress->setStdResult ( $outOriginAddressResult);
    			}
    			    		    				    			    			if (array_key_exists ( "outShopName", $this->stdResult )) {
    				$this->outShopName = $this->stdResult->{"outShopName"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPlatformSubCode", $this->stdResult )) {
    				$this->outPlatformSubCode = $this->stdResult->{"outPlatformSubCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "outPlatformSupplyOrderNo", $this->stdResult )) {
    				$this->outPlatformSupplyOrderNo = $this->stdResult->{"outPlatformSupplyOrderNo"};
    			}
    			    		    				    			    			if (array_key_exists ( "outSupplierId", $this->stdResult )) {
    				$this->outSupplierId = $this->stdResult->{"outSupplierId"};
    			}
    			    		    				    			    			if (array_key_exists ( "outOrderPayTime", $this->stdResult )) {
    				$this->outOrderPayTime = $this->stdResult->{"outOrderPayTime"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "encryptOrder", $this->arrayResult )) {
    			$this->encryptOrder = $arrayResult['encryptOrder'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPlatformOrderNo", $this->arrayResult )) {
    			$this->outPlatformOrderNo = $arrayResult['outPlatformOrderNo'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPlatformCode", $this->arrayResult )) {
    			$this->outPlatformCode = $arrayResult['outPlatformCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPlatformAppkey", $this->arrayResult )) {
    			$this->outPlatformAppkey = $arrayResult['outPlatformAppkey'];
    			}
    		    	    			    		    			if (array_key_exists ( "oaid", $this->arrayResult )) {
    			$this->oaid = $arrayResult['oaid'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPatformExtraInfo", $this->arrayResult )) {
    			$this->outPatformExtraInfo = $arrayResult['outPatformExtraInfo'];
    			}
    		    	    			    		    			if (array_key_exists ( "encryptReceiverName", $this->arrayResult )) {
    			$this->encryptReceiverName = $arrayResult['encryptReceiverName'];
    			}
    		    	    			    		    			if (array_key_exists ( "encryptReceiverMobile", $this->arrayResult )) {
    			$this->encryptReceiverMobile = $arrayResult['encryptReceiverMobile'];
    			}
    		    	    			    		    			if (array_key_exists ( "encryptReceiverAddress", $this->arrayResult )) {
    			$this->encryptReceiverAddress = $arrayResult['encryptReceiverAddress'];
    			}
    		    	    			    		    			if (array_key_exists ( "outShopId", $this->arrayResult )) {
    			$this->outShopId = $arrayResult['outShopId'];
    			}
    		    	    			    		    		if (array_key_exists ( "outOriginAddress", $this->arrayResult )) {
    		$outOriginAddressResult=$arrayResult['outOriginAddress'];
    			    			$this->outOriginAddress = new ComAlibabaOceanOpenplatformBizTradeParamOutAddress();
    			    			$this->outOriginAddress->setStdResult ( $outOriginAddressResult);
    		}
    		    	    			    		    			if (array_key_exists ( "outShopName", $this->arrayResult )) {
    			$this->outShopName = $arrayResult['outShopName'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPlatformSubCode", $this->arrayResult )) {
    			$this->outPlatformSubCode = $arrayResult['outPlatformSubCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "outPlatformSupplyOrderNo", $this->arrayResult )) {
    			$this->outPlatformSupplyOrderNo = $arrayResult['outPlatformSupplyOrderNo'];
    			}
    		    	    			    		    			if (array_key_exists ( "outSupplierId", $this->arrayResult )) {
    			$this->outSupplierId = $arrayResult['outSupplierId'];
    			}
    		    	    			    		    			if (array_key_exists ( "outOrderPayTime", $this->arrayResult )) {
    			$this->outOrderPayTime = $arrayResult['outOrderPayTime'];
    			}
    		    	    		}
 
   
}
?>